package com.manage.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

@ApiModel(value = "订单信息对象", description = "这是订单信息对象")
@Table(name = "orders")
public class Orders {

    @ApiModelProperty(hidden = true)
    @Id
    @Column(name = "order_id")
    private String orderId;

    @ApiModelProperty(value = "用户id", name = "userId", required = true)
    @Column(name = "user_id")
    private String userId;


    @ApiModelProperty(value = "鞋id", name = "shoesId", required = true)
    @Column(name = "shoes_id")
    private String shoesId;

    @ApiModelProperty(value = "订单地址", name = "orderAddress", required = true)
    @Column(name = "order_address")
    private String orderAddress;

    @ApiModelProperty(value = "订单联系人电话", name = "orderPhone", required = true)
    @Column(name = "order_phone")
    private String orderPhone;

    @ApiModelProperty(value = "订单联系人姓名", name = "orderName", required = true)
    @Column(name = "order_name")
    private String orderName;

    @ApiModelProperty(value = "订单商品鞋图片", name = "orderShoesImage", required = true)
    @Column(name = "order_shoes_image")
    private String orderShoesImage;

    @ApiModelProperty(value = "订单金额", name = "orderPrice", required = true)
    @Column(name = "order_price")
    private String orderPrice;

    @ApiModelProperty(value = "订单内容", name = "oederContent", required = true)
    @Column(name = "oeder_content")
    private String oederContent;

    @ApiModelProperty(hidden = true)
    @Column(name = "order_time")
    private String orderTime;

    @ApiModelProperty(value = "订单状态", name = "orderState")
    @Column(name = "order_state")
    private String orderState;

    /**
     * 获取订单id
     *
     * @return order_id - 订单id
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置订单id
     *
     * @param orderId 订单id
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getShoesId() {
        return shoesId;
    }

    public void setShoesId(String shoesId) {
        this.shoesId = shoesId;
    }

    /**
     * 获取订单地址
     *
     * @return order_address - 订单地址
     */
    public String getOrderAddress() {
        return orderAddress;
    }

    /**
     * 设置订单地址
     *
     * @param orderAddress 订单地址
     */
    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    /**
     * 获取订单金额
     *
     * @return order_price - 订单金额
     */
    public String getOrderPrice() {
        return orderPrice;
    }

    /**
     * 设置订单金额
     *
     * @param orderPrice 订单金额
     */
    public void setOrderPrice(String orderPrice) {
        this.orderPrice = orderPrice;
    }

    /**
     * 获取订单内容
     *
     * @return oeder_content - 订单内容
     */
    public String getOederContent() {
        return oederContent;
    }

    /**
     * 设置订单内容
     *
     * @param oederContent 订单内容
     */
    public void setOederContent(String oederContent) {
        this.oederContent = oederContent;
    }

    /**
     * 获取订单创建时间
     *
     * @return order_time - 订单创建时间
     */
    public String getOrderTime() {
        return orderTime;
    }

    /**
     * 设置订单创建时间
     *
     * @param orderTime 订单创建时间
     */
    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getOrderPhone() {
        return orderPhone;
    }

    public void setOrderPhone(String orderPhone) {
        this.orderPhone = orderPhone;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderShoesImage() {
        return orderShoesImage;
    }

    public void setOrderShoesImage(String orderShoesImage) {
        this.orderShoesImage = orderShoesImage;
    }
}